<?php 
/**
 * GioCMS
 * 
 * LICENSE
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2 
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-2.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@ninhgio.com so we can send you a copy immediately.
 * 
 * @copyright	Copyright (c) 2010-2011 GioCMS (http://cms.ninhgio.com)
 * @license		http://www.gnu.org/licenses/gpl-2.0.txt GNU GENERAL PUBLIC LICENSE Version 2
 * @author		NinhGio - ninhgio@gmail.com
 * @since		1.0
 * @version		$Id:$
 */
?>
<?php if (isset($this->CURRENT_ROUTE) && ($this->CURRENT_ROUTE == 'core_auth_login')) : ?>
	<?php if (isset($this->MAIN_CONTENT)) : ?><?php echo $this->MAIN_CONTENT; ?><?php endif; ?>	
<?php else : ?>
	<?php if (isset($this->TOP_MENU)) : ?><?php echo $this->TOP_MENU; ?><?php endif; ?>
	<div id="desc">
		<div class="body">
			<?php if (isset($this->MAIN_CONTENT)) : ?><?php echo $this->MAIN_CONTENT; ?><?php endif; ?>
			<div class="clear"></div>
		</div>
		<div id="body_footer">
			<div id="bottom_left"><div id="bottom_right"></div></div>
		</div>
	</div>
<?php endif; ?>